package com.example.tests;

import org.testng.annotations.Test;

public class ContactCreationTests extends TestBase{

	@Test
	public void testValidContactCanBeCreated() throws Exception {
		ContactObject validContact = new ContactObject("NewFirstName", "NewLastName", "NewAddress", "Home123", "Mobile123", "Work123", "NewEMail1", "NewEMail2", "1", "January", "1980", "[none]", "NewSecAddress",
				"SecHome123");
		app.getContactHelper().createContact(validContact);
		//validation below
	}
	
	@Test
	public void testContactWithEmptyDataCanBeCreated() throws Exception {
		ContactObject emptyContact = new ContactObject("", "", "", "", "", "", "", "", "-", "-", "", "[none]", "", "");
		app.getContactHelper().createContact(emptyContact);
		//validate
	}
}
